package cn.kgc.springcloud.client;

import org.springframework.stereotype.Component;

/**
 * @author mosin
 * date 2022/1/6
 * @version 1.0
 *
 */
@Component
public class FallbackHystrixClient implements HystrixClient {
    @Override
    public String test01() {
        return "网络中断,服务无法连接,请稍后再试！";
    }

    @Override
    public String test02(Integer id) {
        return "网络中断,服务无法连接,请稍后再试！";
    }

}
